use crate::Route;
use dioxus::prelude::*;

#[component]
pub fn NavBar() -> Element {
    rsx! {
        div {
            id: "title",
            Link{
                to: Route::Dogview,
                h1 {"HotDog!"}
            }
            Link{
                to: Route::Favorites,
                id: "heart",
                "♥"
            }
         }
         Outlet::<Route>{}
    }
}
